#include "visual.h"
#include <QtGui/QApplication>
#include <QTextCodec>

#include <stdlib.h>
#include <crtdbg.h>

int main(int argc, char *argv[])
{
	_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF|_CRTDBG_LEAK_CHECK_DF);
	QApplication a(argc, argv);
	QTextCodec *codec = QTextCodec::codecForName("CP1251");
	QTextCodec::setCodecForCStrings(codec);
	visual w;
	w.show();
	a.exec();
	return 1;
}
